#ifndef _THREADFILTER_H_
#define _THREADFILTER_H_

#include <string>

#include <filter/PacketFilter.h>

class Packet;
/**
 * Filters for message packets with a particular thread value.
 *
 * @author Matt Tucker
 */
class ThreadFilter : public PacketFilter {
public:
    /**
     * Creates a new thread filter using the specified thread value.
     *
     * @param thread the thread value to filter for.
     */
    ThreadFilter(std::string thread);

    bool accept(Packet * packet); 
private:
	std::string thread;
};
#endif // -- _THREADFILTER_H_
